<?php
mustLogin();
?>
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="toTop" content="true">
    <title><?php echo SITE_NAME; ?></title>
    <base href="<?php echo BASE_URL; ?>"/>
    <link rel="icon" href="https://dick.ikk.me/D.ico">
    <link type="text/css" rel="stylesheet" href="Lib/Resource/StyleSheet/Page.css">
    <link type="text/css" rel="stylesheet" href="Lib/Resource/StyleSheet/iconfont.css">
    <script src="Lib/Resource/JavaSript/jquery-1.11.3.min.js"></script>
    <script src="Lib/Resource/JavaSript/page.js"></script>
    <script src="Lib/Resource/JavaSript/mood.js"></script>
    <style>
        .person-info-bg {
            background-image: url(<?php echo $_SESSION["user"]->bg; ?>);
        }
    </style>
</head>
<body>
<div class="top-bar">
    <div class="top-nav">
        <div class="container">
            <ul class="nav" id="global-action">
                <li class="nav-home isactive">
                    <a href="HomePage">
                        <span class="iconfont iconfont-normal icon-zhuye"></span>
                        <span class="text">主页</span>
                    </a>
                </li>
                <li class="nav-notice">
                    <a href="Notifications">
                        <span class="iconfont iconfont-normal icon-xiaoxi"></span>
                        <span class="text">消息</span>
                    </a>
                </li>
<!--                <li class="nav-sixin">-->
<!--                    <a href="HomePage">-->
<!--                        <span class="iconfont iconfont-normal icon-youxiang"></span>-->
<!--                        <span class="text">私信</span>-->
<!--                    </a>-->
<!--                </li>-->
            </ul>
            <div class="top-nav-right">
                <div class="search">
                    <form class="search-form">
                        <input class="search-input" type="text" placeholder="搜索用户">
                <span class="search-icon">
                    <button class="iconfont icon-search nav-search iconfont-normal" type="button"></button>
                </span>
                        <div class="dropdown-menu">
                            <ul id="search-per-info">
                            </ul>
                        </div>
                    </form>
                </div>
                <ul class="right-action">
                    <li>
                        <a class="me-btn">
                            <img class="size32" src="<?php echo $_SESSION['user']->avatar; ?>">
                        </a>
                        <div class="dropdown-menu">
                            <ul>
                                <li class="user"><a href="<?php echo $_SESSION['user']->username; ?>">个人资料</a></li>
                                <li class="settings"><a href='Settings'>设置</a></li>
                                <li class="out"><a href="Member/logout">退出</a></li>
                            </ul>
                        </div
                    </li>
                    <li>
                        <button class="bianji-btn">
                            <span class="iconfont icon-bianji iconfont-large"></span>
                        </button>
                    </li>
                </ul>
            </div>
        </div>
    </div>
</div>
<div class="page-outer">
    <div class="AppContent">
        <div class="main_l">
            <div class="person-info module">
                <div class="person-info-bg u-block">
                    <div class="person-info-avater size75">
                        <a href="<?php echo $_SESSION['user']->username; ?>" class="person-info-avaterLink">
                            <img class="person-info-avaterImage size75" src="<?php echo $_SESSION["user"]->avatar; ?>">
                        </a>
                    </div>
                </div>
                <div class="person-info-content module">
                    <div class="person-info-userFields">
                        <div class="person-info-name u-textTruncate">
                            <a href="<?php echo $_SESSION['user']->username; ?>"
                               class="u-txtInheritColor"><?php echo $_SESSION["user"]->nickname; ?></a>
                        </div>
                    <span class="person-info-username u-inlineBlock u-dir">
                        <a href="<?php echo $_SESSION['user']->username; ?>" class="person-info-usernameLink">
                            @
                            <span class="u-linkComlex-target"><?php echo $_SESSION["user"]->username; ?></span>
                        </a>
                    </span>
                    </div>
                </div>
                <div class="person-info-atten">
                    <ul class="personal-nav-list">
                        <li>
                            <a href="<?php echo $_SESSION['user']->username; ?>" class="p-txt1">
                                <span class="p-txt2">微博</span>
                                <strong></strong>
                            </a>
                        </li>
                        <li>
                            <a href="<?php echo $_SESSION['user']->username; ?>" class="p-txt1">
                                <span class="p-txt2">正在关注</span>
                                <strong></strong>
                            </a>
                        </li>
                        <li>
                            <a href="<?php echo $_SESSION['user']->username; ?>" class="p-txt1">
                                <span class="p-txt2">关注者</span>
                                <strong></strong>
                            </a>
                        </li>
                    </ul>
                </div>
            </div>
        </div>
        <div class="main_r">
            <div class="send-weblog">
                <div class="send-box">
                    <img class="send-box-user-image size32" src="<?php echo $_SESSION["user"]->avatar; ?>">
                    <form class="send-form" action="SendWebLog/sendweblog" method="post">
                        <div class="send-box-content">
                            <div class="send-box-input">
                                <textarea name="content" class="send-box-textarea" placeholder="有什么新鲜事?"
                                          style="margin: 0;padding: 0;border-style: none;border-width: 0;font-size: 14px;word-wrap:break-word;line-height: 18px;overflow-y: auto;overflow-x: hidden;outline: none;"></textarea>
                            </div>
                        </div>
                        <div class="pic-container" id="pic-container">
                            <div class="pic-views">
                                <div class="pic-view">
                                    <button type="button" class="button-dismiss" id="delpic">
                                        <span class="iconfont icon-close iconfont-normal"></span>
                                    </button>
                                    <button type="button" class="pic-show" id="pic-show">
                                    </button>
                                </div>
                            </div>
                        </div>
                        <div class="send-box-area">
                            <div class="send-box-extra">
                                <span class="send-box-extra-item">
                                    <label class="photo-selector">
                                        <span class=" iconfont iconfont-large icon-shangchuan sc-icon"></span>
                                        <input type="file" id="pic-send" class="input-miss">
                                    </label>
                                </span>
                                <span class="send-box-extra-item"></span>
                                <span class="send-box-extra-item"></span>
                            </div>
                            <div class="send-box-bar">
                                <span class="counter">140</span>
                                <button class="send-box-btn" id="send-box-btn" type="submit" disabled="disabled">
                                    <span class="button-text">
                                        <span class="span-btn iconfont icon-bianji iconfont-large"></span>
                                        发布
                                    </span>
                                </button>
                            </div>
                        </div>
                    </form>
                </div>
            </div>
            <div class="stream-container">
                <div class="stream-item" id="stream-item-count">
                    <!-- 推送 -->
                </div>
                <div class="stream">
                    <ol class="stream-items" id="stream-items-id"></ol>
                </div>
                <div class="pagination"></div>
            </div>
        </div>
    </div>
</div>
<div class="global-dialog">
    <div class="modal-close"></div>
    <div class="global-dialog-content" id="global-send-box">
        <div class="modal-content">
            <div class="modal-header">
                <h3 class="modal-title">撰写新消息</h3>
            </div>
            <div class="send-box">
                <img class="send-box-user-image size32" src="<?php echo $_SESSION["user"]->avatar; ?>">
                <form class="send-form" action="SendWebLog/sendweblog" method="post">
                    <div class="send-box-content">
                        <div class="send-box-input">
                                <textarea name="content" class="send-box-textarea" placeholder="有什么新鲜事?"
                                          style="margin: 0;padding: 0;border-style: none;border-width: 0;font-size: 14px;word-wrap:break-word;line-height: 18px;overflow-y: auto;overflow-x: hidden;outline: none;"></textarea>
                        </div>
                    </div>
                    <div class="pic-container" id="pic-container2">
                        <div class="pic-views">
                            <div class="pic-view">
                                <button type="button" class="button-dismiss" id="delpic2">
                                    <span class="iconfont icon-close iconfont-normal"></span>
                                </button>
                                <button type="button" class="pic-show" id="pic-show2">
                                </button>
                            </div>
                        </div>
                    </div>
                    <div class="send-box-area">
                        <div class="send-box-extra">
                                <span class="send-box-extra-item">
                                    <label class="photo-selector">
                                        <span class=" iconfont iconfont-large icon-shangchuan sc-icon"></span>
                                        <input type="file" id="pic-send2" class="input-miss">
                                    </label>
                                </span>
                            <span class="send-box-extra-item"></span>
                            <span class="send-box-extra-item"></span>
                        </div>
                        <div class="send-box-bar">
                            <span class="counter">140</span>
                            <button class="send-box-btn" id="send-box-btn2" type="submit" disabled="disabled">
                                    <span class="button-text">
                                        <span class="span-btn iconfont icon-bianji iconfont-large"></span>
                                        发布
                                    </span>
                            </button>
                        </div>
                    </div>
                </form>
            </div>
        </div>
    </div>
    <div class="global-dialog-content" id="global-repeat-box">
        <div class="modal-content">
            <div class="modal-header">
                <h3 class="modal-title"></h3>
            </div>
            <div class="modal-repeat">
            </div>
            <div class="send-box">
                <div class="send-form">
                    <div class="send-box-content">
                        <div class="send-box-input">
                                <textarea name="content" class="send-box-textarea" autofocus="autofocus"
                                          style="margin: 0;padding: 0;border-style: none;border-width: 0;font-size: 14px;word-wrap:break-word;line-height: 18px;overflow-y: auto;overflow-x: hidden;outline: none;"></textarea>
                        </div>
                    </div>
                    <div class="send-box-area">
                        <div class="send-box-bar">
                            <span class="counter">140</span>
                            <button class="send-box-btn send-repeat" id="send-box-btn" type="button"
                                    disabled="disabled">
                                    <span class="button-text">
                                        <span class="span-btn iconfont icon-bianji iconfont-large"></span>
                                        回复
                                    </span>
                            </button>
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </div>
</div>
</body>
</html>
<script src="Lib/Resource/JavaSript/upload.js"></script>

